/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Jtext;

import javax.swing.JFrame;
import javax.swing.JTextField;

/**
 *
 * @author Rafael
 */
public class JText2 {
    public static void main(String[] args){
    
    JFrame form = new JFrame("Formulario");
    form.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    form.setSize(400,60);
    JTextField campo = new JTextField();
    form.add(campo);
    form.setVisible(true);
    
    }
}
